﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Noke.Common.DatabaseAccess
{
    public interface IDatabaseAccess
    {

        #region NonQuery

        //public void Insert(object model);
        //public void Insert(object model, out int newId);
        //public void Insert(object model, out long newId);

        //public int Update(object model);
        //public int Update(object model, List<string> updateColumns)
        //{
        //    int RowsAffected = 0;
        //    try
        //    {

        //    }
        //    catch (Exception ex)
        //    {
        //        RowsAffected = -1;
        //        new ActivateException(ex);
        //    }
        //    return RowsAffected;
        //}

        #endregion
    }
}
